#ifndef _SINGLETON_H_
#define _SINGLETON_H_

#include "Texture.h"

enum Action
{
	Idle,
	Run_Left,
	Run_Right,
	Jump
};

enum EnumID
{
	Mario_Big_ID,
	Mario_Small_ID,
	Fungi_ID,
	Flower_ID,
	Coin_ID,
	Question_ID,
	Turtle_ID,
	LandLeft_ID,
	LandRight_ID,
	LandCenter_ID,
	Pipe_ID,
	Brick_ID,
	Cloud_ID,
	Grass_ID,
	Castle_ID,
	Mountain_ID,
	Mushroom_ID
};

class Singleton
{
	CTexture* mario;
	CTexture* fungi;
	CTexture* flower;
	CTexture* coin;
	CTexture* question;
	CTexture* turtle;
	CTexture* landLeft;
	CTexture* landRight;
	CTexture* landCenter;
	CTexture* pipe;
	CTexture* brick;
	CTexture* cloud;
	CTexture* grass;
	CTexture* castle;
	CTexture* mountain;
	CTexture* mushroom;

	static Singleton *single;
    Singleton();

public:
	static Singleton* getInstance();
	~Singleton();
	CTexture* getTexture(EnumID id);
};

#endif